package com.zan.ojstudy.judge.codesandbox;

import com.zan.ojstudy.judge.codesandbox.model.ExecuteCodeRequest;
import com.zan.ojstudy.judge.codesandbox.model.ExecuteCodeResponse;

/**
 * @Author : Zan
 * @Create : 2024/5/28 20:25
 * @ClassName : CodeSandBox
 * @Description : 代码沙箱接口定义
 */
public interface CodeSandBox {

    /**
     * 执行代码
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
